package com.pqc.tbk.web.admin;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 后台首页
 * 
 * @author Ping_QC created on 2012-7-19 下午7:49:26
 * 
 */
@Controller("adminindex")
@RequestMapping("/admin")
public class IndexController {
	@RequestMapping(value = { "", "index" })
	public String index() {
		return "admin/frame/index";
	}

	@RequestMapping("/{view}")
	public String view(@PathVariable("view") final String view) {
		return "admin/frame/" + view;
	}
}
